package com.lgt.fishmall.product.feign;

import com.lgt.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("fishmall-ware")
public interface WareFeighService {


    @PostMapping( "/ware/waresku/hasStock")
    R getSkuHasStock(@RequestBody List<Long> skuIds);

    @PostMapping( "/ware/waresku/hasStock1")
    R getSkuHasStock1(@RequestBody Long skuIds);

}
